All Questions
Tagged with scikit-learnneural-network
74 questions
1vote
0answers
25views
Neural Network Overfitting on Linearly Separable Dataset
Please let me know if this question is not proper to ask here For context, I have a dataset regarding to tiktok user engagement. The predicted variable is binary, either 'claim' or 'opinion'. From ...
1vote
1answer
757views
How to determine which combinations of parameters to include in GridSearchCV
I am using MLPClassifier from sklearn and I would like to tune it with GridSearchCV. But I don't know which set of values to include for hidden_layer_sizes, max_iter, activation, solver, etc. How can ...
1vote
1answer
1kviews
How to compare $R^{2}$ of train and test data in a Deep Learning Neural Network Regression model?
I want to judge the goodness of my neural network regression model built using Keras Python Library. The problem is the following: from an input like (1000, 5000) so 1000 samples and each sample has ...
3votes
1answer
5kviews
How can I Implement Dropout in SciKit-Learn?
I am working on an air-gapped PC and can only access the SciKit-Learn machine learning library. Unfortunately, its MLPClassifier doesn't include a Dropout ...
0votes
0answers
52views
How to improve validation score
I am working on time series classification. My data has 4 classes. I used this paper's architecture on my data (1611.06455). However, my results look like this : . Here is a link to my notebook I ...
0votes
1answer
377views
why sign flip to indicate loss in hyperopt? [closed]
I am using the hyperopt to find best hyperparameters for Random forest. My objective is to get the parameters which returns the best f1-score as my dataset is ...
0votes
1answer
863views
Fitting column wise ordinal encoder
I already posted this here but no response, so posting it here I have a dataframe like as shown below ...
0votes
3answers
156views
Creating numeric word representation of input sentences resulting in MemoryError
I am trying to use CountVectorizer to obtain word numerical word representation of data which is essentialy list of 160000 English sentences: ...
2votes
0answers
410views
Understanding an MLP coefficient array
I have implemented a super simple MLP using SKLearn. I have a 2 hidden layer model and 31 features on the input layer. So the lengths of the arays are 31, 20 and 10. ...
1vote
2answers
821views
Deep Neural Network Model in sklearn Pipeline
Is it possible to add a deep neural network model as the estimator/model in an sklearn Pipeline? or is it only possible for ML models as the estimator. For example, ...
1vote
1answer
82views
Difference in result in every run of Neural network?
I have written a simple neural network (MLP Regressor), to fit simple data frame columns. To have an optimum architecture, I also defined it as a function to see whether it is converging to a pattern. ...
0votes
0answers
257views
text classification - does number of features matters?
I'm working on a multi-class text classification project that aims to assign a "new bug" to his "final group assignee" To do that I was able to extract ~17000 samples and divided ...
0votes
1answer
154views
Neural network for a data with 5 inputs and 1 output of 3 different types
I am trying to create a neural network for my data which is as follows ...
0votes
0answers
76views
Loss increasing and accuracy decreasing
I've implemented a shallow FC feedforward neural net with 2 input nodes, 1 hidden layer with 4 nodes (tanh activation) and 1 outputnode with sigmoid activation function and binary cross-entropy loss. ...
2votes
1answer
923views
Changing a neural network to not overfit
I am trying to classify around 400K data with 13 attributes. I have used python sklearn's SVM package, but it didn't work, and then I learned that SVM's are not suitable for large dataset ...